#ifndef MPFISHMAPPER_H
#define MPFISHMAPPER_H

#include <string>
#include <vector>
#include "mpEntity.h"


namespace MP{
namespace Mapper{

void jsonStringMapperToObject(std::stringstream & stream,
                              FishInfo& fish,
                              ServerSideErrorInfo& err);

void jsonStringMapperToObjectList(std::stringstream& stream,
                                  std::vector<FishInfo>& fishs,
                                  ServerSideErrorInfo& err);

void objectMapperToJsonString(const FishInfo& fish,
                              std::string & string);

void objectMapperToFormString(const FishInfo& fish,
                              std::string & string);


}   //Mapper
}   //MP


#endif // MPFISHMAPPER_H
